
<include file="dhgx@public/header" /> 


  <title>东湖高新教育直播</title>
  <link href="https://unpkg.com/video.js@7.10.2/dist/video-js.min.css" rel="stylesheet" />
</head>


<body style="margin: 0 auto;box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04)">

  <div id="app">

    <el-row style="margin-bottom: 20px;">
      <el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect">
        <el-menu-item index="1">
          <img src="{$user.avatar}" width="32px" />
          <span>{$user.nickname}</span>
        </el-menu-item>
        <el-menu-item index="2"><a href="/dhgx/zb/index" target="_self">观看直播</a></el-menu-item>
        <el-menu-item index="3" disabled>消息中心</el-menu-item>
        <el-menu-item index="4"><a href="/dhgx/gl/index" target="_self">管理</a></el-menu-item>
        <el-menu-item index="5"><a href="/plugin/xiongyi/wechat1/logout" target="_self">退出登录</a></el-menu-item>
      </el-menu>
    </el-row>

    <div style="display: flex; justify-content: center; align-items: center; ">
      <video id="my-player" class="video-js" autoplay="muted" controls muted preload="auto"  poster="__TMPL__/dhgx/zb/img/dhgx1.webp"
      language="zh-CN"
      >
        <!--source src="rtmp://l.kjdll.cn/zb/dh?auth_key=1760709670-0-0-cd063b7de3dc14cd5c6b68453db80c12" type="rtmp/flv"-->
        <!--source src="https://l.kjdll.cn/zb/dh.flv?auth_key=1760709670-0-0-7ba286a4fab7c8598086f8f9f524eb50" type="video/flv"-->
        <source src="https://l.kjdll.cn/zb/dh.m3u8?auth_key=1760834239-0-0-9e855c473ea7e824ffec726a0a2c8160"
          type="application/x-mpegURL">
        <p class="vjs-no-js">
          如果想使用video.js，请确保浏览器可以运行JavaScript，并且支持
          <a href="https://videojs.com/html5-video-support/" target="_blank">HTML5 video</a>
        </p>
      </video>
    </div>

    <el-divider></el-divider>

    <div style="text-align: right;"><span>{{this.title1}}:{{this.value1}}，{{this.title2}}:{{this.value2}}</span></div>

  </div>


  <script type="module" src="https://unpkg.com/video.js@7.10.2/dist/video.min.js"></script>
  <script type="module" type="text/javascript" src="__TMPL__/dhgx/zb/js/index.js?ver202510221339"></script>
  
  
  <include file="dhgx@public/footer" /> 

</body>

<!--script>
  let options = {
    autoplay: "muted",
    muted: true,
    preload: "auto",
    //width:"800",
    //height:400,
    fluid: true
  };
  let player = videojs('my-player', options, function onPlayerReady() {
    videojs.log('播放器准备好了!');
    // In this context, `this` is the player that was created by Video.js.
    this.play();
    this.on('ended', function () {
      videojs.log('播放结束!');
    });
  });
</script-->

</html>